package com.weasel.weixin.commons.message.bean.initiative;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Dylan on 2015/10/19.
 */
public class TextCustomInitiativeMessage extends AbstractCustomInitiativeMessage {

    @JsonProperty("text")
    private Text text;

    public TextCustomInitiativeMessage() {
        super("text");
    }

    public Text getText() {
        return text;
    }

    public void setText(Text text) {
        this.text = text;
    }

    public static class Text{

        @JsonProperty("content")
        private String content;  //文本消息内容

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
